<template>
  <div>
    <h1>order</h1>
  </div>
</template>
<script>
  export default{
    name:'order',
    created () {
      this.$store.commit("changeTitle", "订单详情");
      let uId = JSON.parse(sessionStorage.getItem("user"));
      let userId = uId.id;
      console.log(userId);
      this.axios.get("http://127.0.0.1:9988/findallYes_order", {
        params: {
          userId: userId,
        }
      }).then((res) => {
        console.log(res);

      }).catch((err) => {
        console.log(err);
      });
    }
  }
</script>
<style lang="less" scoped>

</style>